package com.school.sports.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 备份表实体类
 */
@Data
@TableName("backup")
public class Backup {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 备份名称
     */
    private String backupName;

    /**
     * 备份类型：全量、增量
     */
    private String backupType;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 备份时间
     */
    private LocalDateTime backupAt;

    /**
     * 操作人ID
     */
    private Long operatorId;
}